import Vue from 'vue';
import "./css/reset.css";
import "./css/public.css";
import "./font/iconfont.css";
import router from "./router/router";
// 引入请求路径
import fet from "@/api";
Vue.prototype.$fetch=fet;
// 引入轮播图组件
import { Swipe, SwipeItem } from 'vant';
Vue.use(Swipe);
Vue.use(SwipeItem);
// 引入触底加载组件
import { List } from 'vant';
Vue.use(List);

// 引入懒加载组件
import { Lazyload } from 'vant';
Vue.use(Lazyload);

// 引入弹出层
import { Popup } from 'vant';
Vue.use(Popup);

// 引入ViewUI 样式
import 'view-design/dist/styles/iview.css';
// 引入返回顶部组件
import { BackTop } from 'view-design';
Vue.component('BackTop', BackTop);


import App from './App.vue'

new Vue({
    render: h => h(App),
    router
}).$mount('#app')